package com.zero.oopday05demo1;
//enum枚举
public enum Season {
    //枚举对象的数量是固定的  并且都是常量
    SPRING("春天"),
    SUMMER("夏天"),
    AUTUMN("秋天"),
    WINTER("冬天");
    private String seasonName;




    Season(String seasonName ) {
        this.seasonName = seasonName;

    }

    public String getSeasonName() {
        return seasonName;
    }

    public void setSeasonName(String seasonName) {
        this.seasonName = seasonName;
    }


}
